keep your nose clean
keep your nose clean
(informal) to avoid doing anything wrong or illegal
Since leaving prison, he's managed to keep his nose clean.